package cn.wolfcode.service;


import cn.wolfcode.domain.OrderInfo;
import cn.wolfcode.mq.OrderMessage;

import java.util.Map;

/**
 * Created by wolfcode-lanxw
 */
public interface IOrderInfoService {
    
    String order(OrderMessage orderMessage);
    
    OrderInfo findOrderByOrderNo(String orderNo);
    
    void changeOrderStatus(String orderNo,  Integer statusTimeout);
    
    String payOnLine(String orderNo);
    
    String notifyService(Map<String, String> params);
    
    Boolean returnService(Map<String, String> params);
    
    Boolean refund(String orderNo);
    
    String payByIntergral(String orderNo);
}
